home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / comm / rzsz0916.zip / RZ.DOC < prev    next >
Text File  |  1996-08-02  |  19KB  |  463 lines

  1.  
  2.  
  3.  
  4.      RRRRZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         RRRRZZZZ((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       rx, rc, rb, rz - Receive Files and Commands with X/Y/ZMODEM
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       rrrrzzzz [-vvvv] [-wwwwWWWWIIIINNNNDDDDOOOOWWWW] [-ttttTTTTIIIIMMMMEEEEOOOOUUUUTTTT]
  13.       rrrrbbbb [-vvvvyyyy] [-ttttTTTTIIIIMMMMEEEEOOOOUUUUTTTT]
  14.       rrrrcccc [-vvvvyyyy] [-ttttTTTTIIIIMMMMEEEEOOOOUUUUTTTT] _f_i_l_e
  15.       rrrrxxxx [-vvvvyyyy] [-ttttTTTTIIIIMMMMEEEEOOOOUUUUTTTT] _f_i_l_e
  16.       ggggzzzz _f_i_l_e ...
  17.  
  18.      LLLLIIIICCCCEEEENNNNSSSSEEEE AAAAGGGGRRRREEEEEEEEMMMMEEEENNNNTTTT
  19.       This is a Copyrighted    shareware program.  Commercial use of
  20.       this program is subject to licensing conditions detailed in
  21.       the rz.c source code.     "Commercial Use" includes any use of
  22.       this program to receive files    from a commercial or shareware
  23.       program not published    by Omen    Technology INC.
  24.  
  25.       Registration information is provided in the file mailer.rz.
  26.  
  27.       Use of this program constitutes agreement to the License
  28.       Agreement.
  29.  
  30.      SSSSUUUUPPPPPPPPOOOORRRRTTTT
  31.       Users    who have not purchased support may dial    900-555-7836
  32.       (900-555-RTFM) for technical assistance.  There is a charge
  33.       of $4.69 per minute to use this support line.     Callers must
  34.       be 18    years or older.
  35.  
  36.       Registered users encountering    problems using this program on
  37.       standard serial ports    to transfer files with Professional-
  38.       YAM or ZCOMM may call    the support number listed in the
  39.       Professional-YAM/ZCOMM documentation.     Solutions to nearly
  40.       all file transfer problems are described in the
  41.       Professional-YAM/ZCOMM documentation.
  42.  
  43.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  44.       This program uses error correcting protocols to receive
  45.       files    over a dial-in serial port from    a variety of programs
  46.       running under    PC-DOS,    CP/M, Unix, and    other operating
  47.       systems.  It is invoked from a shell prompt manually,    or
  48.       automatically    as a result of an "sz file ..."    command    given
  49.       to the calling program.
  50.  
  51.       To obtain the    maximum    performance and    full functionality of
  52.       this program we recommend its    use with GSZ, Professional-YAM
  53.       or ZCOMM.
  54.  
  55.       This program is intended to act as a server for terminal
  56.       programs, not    to act as one.    This program is    not designed
  57.       to be    called from _c_u(_1), _t_i_p(_1), or other communications
  58.       programs.  Unix flavors of Omen Technology's Professional-
  59.       YAM communications software are suitable for dial-out
  60.  
  61.  
  62.  
  63.      Page 1                          (printed 8/2/96)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      RRRRZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         RRRRZZZZ((((1111))))
  71.  
  72.  
  73.  
  74.       applications.     Unix Professional-YAM supports    dial-out
  75.       applications with telephone directory, a powerful script
  76.       language with    learn function,    high quality multiple protocol
  77.       support, and UUCP port arbitration.
  78.  
  79.  
  80.       RRRRzzzz (Receive ZMODEM) receives one or more files with the
  81.       ZMODEM protocol.  Pathnames are supplied by the sending
  82.       program, and directories are created if necessary.  (See the
  83.       example below.) if standard output is    not redirected to a
  84.       file or pipe,    output is appended to a    file named "stdout".
  85.  
  86.       Normally, the    "rz" command is    automatically issued by    the
  87.       calling ZMODEM program, but defective    ZMODEM implementations
  88.       may require starting _r_z manually.
  89.  
  90.       RRRRbbbb receives file(s) with YMODEM, accepting either standard
  91.       128 byte sectors or 1024 byte    sectors    (Pro-YAM/ZCOMM sb ----kkkk
  92.       option).  The    user should determine when the 1024 byte block
  93.       length actually improves throughput.
  94.  
  95.       If True YMODEM (Omen Technology trademark) file information
  96.       (file    length,    etc.) is received, the file length controls
  97.       the number of    bytes written to the output dataset, and the
  98.       modify time and file mode (iff non zero) are set
  99.       accordingly.
  100.  
  101.       If True YMODEM file information is not received, slashes in
  102.       the pathname are changed to underscore, and any trailing
  103.       period in the    pathname is eliminated.     This conversion is
  104.       useful for files received from CP/M and other    historical
  105.       systems.
  106.  
  107.       RRRRcccc receives a    single _f_i_l_e with XMODEM-CRC or XMODEM-1k-CRC
  108.       protocol.  The user should determine when the    1024 byte
  109.       block    length actually    improves throughput without causing
  110.       problems.  The user must supply the file name    to both
  111.       sending and receiving    programs.  Up to 1023 garbage
  112.       characters may be added to the received file.
  113.  
  114.       RRRRxxxx receives a    single _f_i_l_e with XMODEM    or XMODEM-1k protocol.
  115.       The user should determine when the 1024 byte block length
  116.       actually improves throughput without causing problems.  The
  117.       user must supply the file name to both sending and receiving
  118.       programs.  Up    to 1023    garbage    characters may be added    to the
  119.       received file.
  120.  
  121.       GGGGzzzz is    a shell    script which calls _s_z to command Pro-YAM or
  122.       ZCOMM    to transmit the    specified files.  Pathnames used with
  123.       _g_z must be escaped if    they have special significance to the
  124.       Unix shell.
  125.       EXAMPLE: gz "-a C:*.c    D:*.h"
  126.  
  127.  
  128.  
  129.      Page 2                          (printed 8/2/96)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      RRRRZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         RRRRZZZZ((((1111))))
  137.  
  138.  
  139.  
  140.       If invoked with a leading ``v'', _r_z will report progress to
  141.       /tmp/rzlog.
  142.       EXAMPLE: ln rz vrz; rz=vrz; export rz
  143.  
  144.       If the RESTRICTED shell environment variable is set to 1, or
  145.       if the SHELL environment variable includes _r_s_h or _r_k_s_h
  146.       (restricted shell), registered copies    of _r_z will not accept
  147.       command uploads, absolute pathnames, references to a parent
  148.       directory, will not modify an    existing file, and removes any
  149.       files    received in error.
  150.       EXAMPLE: RESTRICTED=1    rz
  151.  
  152.  
  153.       The meanings of the available    options    are:
  154.  
  155.       ttttTTTTIIIIMMMMEEEEOOOOUUUUTTTT
  156.            Change TIMEOUT to _T_I_M_E_O_U_T tenths    of seconds.
  157.       vvvv    Verbose causes a    list of    file names to be appended to
  158.            /tmp/rzlog .  More v's generate more detailed debugging
  159.            output.
  160.       wwwwWWWWIIIINNNNDDDDOOOOWWWW
  161.            Use a receive window of WINDOW bytes.  Details in the
  162.            Professional-YAM    user manual.
  163.       (Pro-YAM command)
  164.       <_A_L_T-_2>
  165.       Pro-YAM Command: _s_z *._h *._c
  166.       This automatically invokes _r_z    on the connected system, and
  167.       sends    all .h and .c files in the current directory.
  168.  
  169.       _s_z -_n    -_R_f .
  170.       This Professional-YAM    command    recursively follows the
  171.       current directory tree (.) (Pro-YAM -R option), sends    the
  172.       full relative    pathname (-f), for files that are newer    (-n)
  173.       than their copies on the destination system.
  174.  
  175.       _r_z | _s_o_r_t >/_t_m_p/_s_o_r_t_e_d
  176.       _s_z _O_N_A_M_E=- *._l_s_t
  177.       The first command manually starts rrrrzzzz with output piped to
  178.       the sort command.  The second    command    instructs
  179.       Professional-YAM, ZCOMM, GSZ or DSZ to sene the files    using
  180.       "-" as pathname, which instructs rrrrzzzz to output    the received
  181.       data to its standard output.    The end    result is a single
  182.       file containing all the lines    of the .lst files sorted
  183.       alphabetically.
  184.  
  185.  
  186.  
  187.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  188.       Exit status is as follows: 0 for successful transfers.  1 if
  189.       unrecoverable    errors are detected.  2    if syntax errors or
  190.       file access problems are detected.  3    if the program was
  191.       terminated by    a caught interrupt.
  192.  
  193.  
  194.  
  195.      Page 3                          (printed 8/2/96)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      RRRRZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         RRRRZZZZ((((1111))))
  203.  
  204.  
  205.  
  206.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  207.       Professional-YAM, ZCOMM, DSZ,    crc(omen), sz(omen),
  208.       usq(omen), undos(omen)
  209.  
  210.       Compile time options required    for various operating systems
  211.       are described    in the source file.
  212.  
  213.      SSSSEEEERRRRVVVVEEEERRRR////NNNNEEEETTTTWWWWOOOORRRRKKKK NNNNOOOOTTTTEEEESSSS
  214.       Terminals on some timesharing    systems    are connected
  215.       indirectly to    the host with TTTTEEEERRRRMMMMIIIINNNNAAAALLLL SSSSEEEERRRRVVVVEEEERRRRSSSS operating over
  216.       networks.  Terminal servers often interfere with file
  217.       transfers by "eating"    control    characters and/or losing data.
  218.  
  219.       Accessing a distant system using tttteeeellllnnnneeeetttt on a local Unix
  220.       system entails the same problems.  If    tttteeeellllnnnneeeetttt does not    work
  221.       well,    try rrrrllllooooggggiiiinnnn with    the ----8888 option.    Set the    escape
  222.       character to ^P (control P) which is protected by ZMODEM.
  223.  
  224.       When terminal    servers    interfere with file transfers, server
  225.       commands are often available to help the problem.  When
  226.       possible, enable the server and modems for hardware flow
  227.       control in and out.  Set the terminal    server to telnet
  228.       transparent mode.  Some typical commands are "SET TERMINAL
  229.       DOWNLOAD", "set session passall", and    "SET TERMINAL NO ESC",
  230.       but there is no standard set of commands suitable for    all
  231.       terminal servers.  Normally these commands are given before
  232.       attempting file transfers, but one user has reported that
  233.       the command must be given _a_f_t_e_r the file transfer is
  234.       started(!).  Until terminal server vendors improve the
  235.       quality of their product, you    may have to get    on their case
  236.       until    they adequately    support    high performance file
  237.       transfers.
  238.  
  239.       The telnet protcol used by the _t_e_l_n_e_t    program    and terminal
  240.       servers uses 0xFF (377 octal)    for special control functions.
  241.       The 0xFF character may cause problems    if it appears in the
  242.       data stream, especially uploading at high speeds.  With
  243.       ZCOMM    or Professional-YAM the    0xFF character can be
  244.       protected by giving the command:
  245.       set zmtxesc ?
  246.  
  247.       Escaping control characters with ZMODEM (sz -e) may help if
  248.       the transfer gets stuck in the same place on every attempt.
  249.       Professional-YAM and ZCOMM allow selection of    which control
  250.       characters need to be    escaped.  In extreme cases 7-bit
  251.       transmission may be required (see the    Professional-YAM/ZCOMM
  252.       manual).  If you encounter problems with control characters
  253.       you should identify which control characters are causing the
  254.       problem.  Please refer to the    sz -T command in sz.doc    for
  255.       more help.
  256.  
  257.       Flow control between the server and modem is often
  258.  
  259.  
  260.  
  261.      Page 4                          (printed 8/2/96)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      RRRRZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         RRRRZZZZ((((1111))))
  269.  
  270.  
  271.  
  272.       defective.  This rarely causes a problem in interactive
  273.       applications whose short bursts (a screenfull    at most) fit
  274.       within the available memory buffers.    Streaming protocols
  275.       such as YMODEM-g, long packet    SuperKermit, and ZMODEM    can
  276.       overload the available buffering.  Some terminal servers
  277.       support commands to enable hardware flow control such    as
  278.       "TERM    FLOWCONTROL HARDWARE IN    OUT"; this assumes the modem
  279.       attached to the server is properly configured.
  280.  
  281.       If the terminal server is too    brain damaged to support flow
  282.       control, ZMODEM lets you fake    it by setting a    window size.
  283.       Try
  284.            sz -w2048 file...
  285.       to enable software flow control.  Experiment with different
  286.       window sizes for best    results.
  287.  
  288.       Terminal servers are designed    to accept keyboard input from
  289.       human    operators.  They may lose data when a program sends
  290.       more data to the host    faster than humans type.  Some servers
  291.       allow    larger input buffers to    support    file uploads.  If you
  292.       can upload short files (less than 100    bytes) but not longer
  293.       files, try
  294.            sz -w1024 file...
  295.       with your uploading program.    (Not all programs support this
  296.       option; use ZCOMM or Professional-YAM.)
  297.  
  298.       When both flow control and character transparency are
  299.       problems, use
  300.            sz -ew1024 file...
  301.       as a starting    point.
  302.  
  303.       Sometimes the    terminal server    software is defective and must
  304.       be corrected.     Please    contact    the network's vendor for
  305.       corrective procedures.  An alternative is to install direct
  306.       serial ports for users desiring to upload files.
  307.  
  308.       We have also encountered problems when networking software
  309.       fails    to pass    data after a large amount of data has been
  310.       sent to the host.  This has happened on a PPP    internet
  311.       connection which prevented uploads of    large amounts of data
  312.       via either FTP or a ZMODEM upload (via TELNET).  The PPP
  313.       connection grinds to a standstill and    not even PING works.
  314.       The same ZMODEM/TELNET combination easily uploaded ten times
  315.       as much to a nearby machine connected    by Ethernet.
  316.  
  317.  
  318.      PPPPOOOORRRRTTTT WWWWAAAATTTTCCCCHHHHEEEERRRRSSSS
  319.       Some systems enforce a timeout which disconnects a user
  320.       after    several    minutes    of keyboard inactivity.     Long, error
  321.       free ZMODEM transfers    do not generate    keyboard activity
  322.       (this    is why ZMODEM is so efficient).     Restricting the
  323.       window size with
  324.  
  325.  
  326.  
  327.      Page 5                          (printed 8/2/96)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      RRRRZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         RRRRZZZZ((((1111))))
  335.  
  336.  
  337.  
  338.            sz -w16384 file...
  339.       option generates terminal input at regular intervals even
  340.       when no error    correction is needed.  If problems persist,
  341.       try setting a    packet length.
  342.            sz -l1024 file...
  343.       (The default ZMODEM packet length is the file    length.)
  344.  
  345.      NNNNOOOOTTTTEEEESSSS
  346.       ZMODEM's support of XOFF/XON flow control allows proper
  347.       operation in many environments that do not support XMODEM
  348.       uploads.  Unfortunately, not all Unix    versions support input
  349.       flow control.     The TTY input buffering on some systems may
  350.       not adequately buffer    long blocks or streaming input at high
  351.       speed.  You should suspect this problem when you can't send
  352.       data to the Unix system at high speeds using ZMODEM,
  353.       YMODEM-1k or XMODEM-1k, but YMODEM with 128 byte blocks
  354.       works    properly.
  355.  
  356.       The DSZ or Pro-YAM zzzzmmmmooooddddeeeemmmm llll numeric parameter    may be set to
  357.       a value between 64 and 1024 to limit the burst length
  358.       ("zmodem pl128").  Although this compromises ZMODEM's
  359.       throughput, ZMODEM's superior    reliability remains intact.
  360.  
  361.       If a program that does not properly implement    the specified
  362.       file transfer    protocol causes    _r_z to "hang" the port after a
  363.       failed transfer, either wait for _r_z to time out or keyboard
  364.       a dozen Ctrl-X characters.  Every reported instance of this
  365.       problem has been corrected by    using ZCOMM, Pro-YAM, DSZ, or
  366.       other    program    with a correct implementation of the specified
  367.       protocol.
  368.  
  369.       Many programs    claiming to support YMODEM only    support    XMODEM
  370.       with 1k blocks, and they often don't get that    quite right.
  371.  
  372.       In the case of a few poorly designed microcomputers, sending
  373.       serial data to a tty port at sustained high speeds has been
  374.       known    to cause lockups, system halts,    kernel panics, and
  375.       occasional antisocial    behaviour.  This problem is not    unique
  376.       to _r_z; newer versions    of Kermit, CRT terminals with screen
  377.       transmission,    and line noise have the    same effect.  When
  378.       experimenting    with high speed    input to a system, consider
  379.       rebooting the    system if the file transfers are not
  380.       successful, especially if the    personality of the system
  381.       appears altered.
  382.  
  383.       The Unix "ulimit" parameter must be set high enough to
  384.       permit large file transfers to Unix.
  385.  
  386.       Telebit modems must not be set to "spoof" UUCP, XMODEM,
  387.       YMODEM, or KERMIT.  Setting one of these spoofing modes
  388.       interferes with other    protocols.  Telebit's YMODEM spoofing
  389.       interferes with YMODEM transfers.
  390.  
  391.  
  392.  
  393.      Page 6                          (printed 8/2/96)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      RRRRZZZZ((((1111))))        OOOOmmmmeeeennnn TTTTeeeecccchhhhnnnnoooollllooooggggyyyy    IIIINNNNCCCC ((((OOOOMMMMEEEENNNN))))         RRRRZZZZ((((1111))))
  401.  
  402.  
  403.  
  404.       32 bit CRC code courtesy Gary    S. Brown.  Directory creation
  405.       code from John Gilmore's PD TAR program.
  406.  
  407.      NNNNEEEETTTTWWWWOOOORRRRKKKK NNNNOOOOTTTTEEEESSSS
  408.       Escaping all control characters (sz -e) may help if the
  409.       transfer gets    stuck in the same place    on every attempt.
  410.       Professional-YAM and ZCOMM allow selection of    which control
  411.       characters need to be    escaped.
  412.  
  413.       In extreme cases 7-bit transmission may be required (see
  414.       Professional-YAM/ZCOMM manual).  7-bit transmission requires
  415.       rz version 4.50 or higher.
  416.  
  417.       Please refer to the sz -T command in sz.doc for more help.
  418.  
  419.      BBBBUUUUGGGGSSSS
  420.       This version of _r_z does not support some ZMODEM features.
  421.       Unix flavors of Professional-YAM may be linked to "rz" to
  422.       support these    features.
  423.  
  424.       The ASCII option's CR/LF to NL translation merely deletes
  425.       CR's;    undos(omen) performs a more intelligent    translation.
  426.  
  427.      ZZZZMMMMOOOODDDDEEEEMMMM CCCCAAAAPPPPAAAABBBBIIIILLLLIIIITTTTIIIIEEEESSSS
  428.       _R_z supports ZMODEM command execution (zcommand), incoming
  429.       ZMODEM binary    (-b), ASCII (-a), escape controls (-e),
  430.       newer(-n), newer+longer(-N), protect (-p), Crash Recovery(-
  431.       r), clobber (-y), match+clobber (-Y),    compression(-Z), and
  432.       append (-+) requests.     Other options sent by the sender are
  433.       ignored.  The    default    is protect (-p)    and binary (-b).
  434.  
  435.       Unix Professional-YAM    provides higher    performance and    other
  436.       features not supported by _r_z.    Please contact Omen Technology
  437.       Inc for product information.
  438.  
  439.       Omen Technology INC
  440.       Post Office Box 4681
  441.       Portland OR 97208
  442.       503-614-0430 (Sales)
  443.       900-555-RTFM (Unregistered user Technical Support)
  444.  
  445.  
  446.      FFFFIIIILLLLEEEESSSS
  447.       rz.c,    crctab.c, rbsb.c, zm.c,    zmr.c, zmodem.h, rz.1
  448.  
  449.       /tmp/rzlog stores debugging output generated with -vv    option
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.      Page 7                          (printed 8/2/96)
  460.  
  461.  
  462.  
  463.